package com.ly.heart.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.SurveyApplyEntity;
import com.ly.heart.domain.dto.SurveyApplyDto;

/**
 * 勘测申请Service接口
 *
 * @author wutao
 * @date 2024-05-22
 */
public interface ISurveyApplyService extends IService<SurveyApplyEntity> {
    /**
     * 查询勘测申请
     *
     * @param id 勘测申请ID
     * @return 勘测申请
     */
    SurveyApplyDto selectErpSurveyApplyInfoById ( String id );

    /**
     * 查询勘测申请列表
     *
     * @param erpSurveyApplyInfo 勘测申请
     * @return 勘测申请集合
     */
    List<SurveyApplyEntity> selectErpSurveyApplyInfoList ( SurveyApplyEntity erpSurveyApplyInfo );

    /**
     * 新增勘测申请
     *
     * @param surveyApplyDto 勘测申请
     * @return 结果
     */
    int insertErpSurveyApplyInfo ( SurveyApplyDto surveyApplyDto );

    /**
     * 修改勘测申请
     *
     * @param surveyApplyDto 勘测申请
     * @return 结果
     */
    int updateErpSurveyApplyInfo ( SurveyApplyDto surveyApplyDto );

    /**
     * 批量删除勘测申请
     *
     * @param ids 需要删除的勘测申请ID
     * @return 结果
     */
    int deleteErpSurveyApplyInfoByIds ( String[] ids );

    /**
     * 删除勘测申请信息
     *
     * @param id 勘测申请ID
     * @return 结果
     */
    int deleteErpSurveyApplyInfoById ( String id );
}
